home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-04 | 896 b | 29 lines | [TEXT/R*ch] |
- This little sample shows how to keep two expando shells in sync.
- That is, make sure that the same item is expanded on both shells, or that
- all items are closed on both shells.
-
- WARNING WARNING WARNING...
-
- This stuff ONLY works if both expandoshells have the *same* number of
- lines!
-
-
- The stuff you want to look at (use shellOne for documentation):
-
- viewClickScript:
-
- This is where I make sure the same item is expanded. It is pretty
- straightforward.
-
- ExpandNone
-
- This is a little more skanky... Since this message is usually sent
- through a DeferredAction, and since you have to make sure your
- inherited message gets called (to do the right thing), you have
- to send a DoExpandNone message to the shell to setup the correct context.
-
- i.e., ExpandNone is a real protoExpandoShell message, doExpandNone is
- one that I added to get around the context problem of AddDeferredAction.
-
- share and enjoy ;-)
-